<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>武林英雄</title>
<link href="../css/style4.css" rel="stylesheet" type="text/css" />
<style>
#server_select {
	position:absolute;
	height:300px;
	width:500px;	
	z-index:20;
	left: 50px;
	top: 50px;
}
#server_select_yx {
	position:absolute;
	height:400px;
	width:580px;	
	z-index:20;
	left: 50px;
	top: 50px;
}
</style>
</head>
<script language="javascript">

function writeCookie(name, value, hours, path, domain) 
{   //
    return;
	var expire = ""; 
	if(hours != null) 
	{ 
		expire = new Date((new Date()).getTime() + hours * 3600000); 
		expire = "; expires=" + expire.toGMTString(); 
	} 
     
	document.cookie = name + "=" + encodeURIComponent(value) + expire + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : ""); 
} 
var c='{{$cookies}}';
//writeCookie('cookie_q', c, 24, '/', '');
</script>
<script language="javascript" type="text/javascript">
window.checklogininfo=function ()
{
	var obj=document.getElementById('formhero');
	if (obj.username.value=='') {
		alert('请填写用户名');
		return false;
	}
	if (obj.password.value=='') {
		alert('请填写用户名');
		return false;
	}	
}
</script>
<body>
<div class="warpper">
	<div class="header">
		<div class="nav"><img src="../images/hero/yx_nav.jpg" width="1000" height="64" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="47,22,92,49" href="index.php?game=103&gsortid=103" /><area shape="rect" coords="109,21,187,50" href="news_list.php?sortid=5&game=103&gsortid=103" /><area shape="rect" coords="200,18,274,51" href="news_list.php?sortid=6&game=103&gsortid=103" /><area shape="rect" coords="292,19,372,55" href="news_list.php?sortid=7&game=103&gsortid=103" /><area shape="rect" coords="637,16,722,51" href="news_list.php?sortid=8&game=103&gsortid=103" /><area shape="rect" coords="746,20,831,51" href="news_list.php?sortid=9&game=103&gsortid=103" /><area shape="rect" coords="868,17,952,51" href="{{if $siteInfo.site_forum_url !=''}}{{$siteInfo.site_forum_url}}{{else}}#{{/if}}" /></map></div>
	</div>
	
	<div style="overflow:hidden;">
		<div class="sidebar">
			<div class="yx_dl">
				
{{insert name='getusernameheor' url=$backaddress}}
				
				
			</div>
			<div class="yx_yxzl">
				<div class="yx_yxzl_title"></div>
				{{include file="hero/left.html"}}
				<div class="yx_yxzl_btm"></div>
			</div>
		</div>
		<div class="content">
			<div class="yx_news">
				<div class="yx_flash">
				<script type=text/javascript>
			<!-- 
			var focus_width=240;
			var focus_height=200;
			var text_height=0;
			var swf_height = focus_height+text_height;
			var pics='{{$flashimg}}';
			var links='{{$flashlink}}'; 
			var texts='{{$flashtext}}';
			document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
			document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../flash/zq2/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
			document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
			document.write('<param name="FlashVars" value="pics='+pics+'&amp;links='+links+'&amp;texts='+texts+'&amp;borderwidth='+focus_width+'&amp;borderheight='+focus_height+'&amp;textheight='+text_height+'">');
			document.write('<embed src="../flash/zq2/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&amp;links='+links+'&amp;texts='+texts+'&amp;borderwidth='+focus_width+'&amp;borderheight='+focus_height+'&amp;textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
			//-->
			</script>
				</div>
				<div class="yx_gg">
					<div class="yx_gg_title"><a href="news_list.php?sortid=5&game=103&gsortid=103" class="yx_gg_more"></a></div>
					<div class="yx_gg_con">
						<ul>
							{{foreach from=$xwgg key=key item=item name=xwgg}}
							{{if $smarty.foreach.xwgg.iteration lte 8}}
					         <li><span>{{$item.time|showdate}}</span><a href="show_news.php?aid={{$item.article_id}}&game=103" target="_blank">{{$item.title|truncate:60}}</a></li>
                            {{/if}}
						    {{/foreach}}
						</ul>
					</div>
				</div>
				<div class="sub_nav">
					<input class="margintop12" style="background:url(../images/hero/yx_news_bg.gif) 0 -328px no-repeat; cursor:pointer; height:33px; width:115px; border:none;" name="" type="button" onclick="window.location.href='../paycenter.php'" /><br />
					<input class="margintop12" style="background:url(../images/hero/yx_news_bg.gif) 0 -367px no-repeat; cursor:pointer; height:33px; width:115px; border:none;" name="" type="button" onclick="window.location.href='../passport_index.php'" /><br />
					<input class="margintop12" style="background:url(../images/hero/yx_news_bg.gif) 0 -407px no-repeat; cursor:pointer; height:33px; width:115px; border:none;" name="" type="button" onclick="window.location.href='../cs/'"/><br />
					
				</div>
			</div>
			<div class="yx_banner">
				{{foreach from=$sgactiv item=item}}
				<a href="{{$item.url_path}}" target="_blank">
					<img alt="{{$item.title}}" title="{{$item.title}}"
						src="{{$image_domain}}{{$item.pic_path}}"/>
				</a>
				{{/foreach}}
			</div>
			
			<div class="yx_box">
				<div class="yx_box01">
					<div class="yx_yxjy_title"></div>
					<div class="yx_box01_con">
						<ul>
						    {{foreach from=$yxjy key=key item=item name=yxjy}}
							{{if $smarty.foreach.yxjy.iteration lte 8}}
							<li><span>{{$item.time|showdate}}</span><a href="show_news.php?aid={{$item.article_id}}&game=103" target="_blank">{{$item.title|truncate:45}}</a></li>
							{{/if}}
							{{/foreach}}
						</ul>
					</div>
					<div align="right"><a href="news_list.php?sortid=5&game=103&gsortid=103">更多</a></div>
				</div>
				<div class="yx_box01 marginleft40">
					<div class="yx_hdzn_title"></div>
					<div class="yx_box01_con">
						<ul>
							{{foreach from=$hdzx key=key item=item name=hdzx}}
							{{if $smarty.foreach.hdzx.iteration lte 8}}
							<li><span>{{$item.time|showdate}}</span><a href="show_news.php?aid={{$item.article_id}}&game=103" target="_blank">{{$item.title|truncate:45}}</a></li>
							{{/if}}
							{{/foreach}}
						</ul>
					</div>
					<div align="right"><a href="news_list.php?sortid=6&game=103&gsortid=103">更多</a></div>
				</div>
			</div>
			
			<div class="yx_box">
				<div class="yx_box01">
					<div class="yx_yxzn_title"></div>
					<div class="yx_box01_con">
						<ul>
							{{foreach from=$yxzn key=key item=item name=yxzn}}
							{{if $smarty.foreach.yxzn.iteration lte 8}}
							<li><span>{{$item.time|showdate}}</span><a href="show_news.php?aid={{$item.article_id}}&game=103" target="_blank">{{$item.title|truncate:45}}</a></li>
							{{/if}}
							{{/foreach}}
						</ul>
					</div>
					<div align="right"><a href="news_list.php?sortid=7&game=103&gsortid=103">更多</a></div>
				</div>
				<div class="yx_box01 marginleft40">
					<div class="yx_wjjl_title"></div>
					<div class="yx_box01_con">
						<ul>
							{{foreach from=$wjjl key=key item=item name=wjjl}}
							{{if $smarty.foreach.wjjl.iteration lte 8}}
							<li><span>{{$item.time|showdate}}</span><a href="show_news.php?aid={{$item.article_id}}&game=103" target="_blank">{{$item.title|truncate:45}}</a></li>
							{{/if}}
							{{/foreach}}
						</ul>
					</div>
					<div align="right"><a href="news_list.php?sortid=8&game=103&gsortid=103">更多</a></div>
				</div>
			</div>
			
		</div>
	</div>	
		
	<div class="footer"></div>
<div id="server_select" style="display:none;" >
	<iframe src="hero/xuanqu.php?q={{$cookies}}&url={{$backaddress}}"  width="468px" height="830px" style=" margin:0px;"  allowTransparency="true" frameborder="0" scrolling="no" alt="武林三国"> </iframe>
</div>	
<div id="server_select_yx" style="display:none;" >
	<iframe src="hero/yx.php?q={{$cookies}}_1"  width="590px" height="830px" style=" margin:0px;"  allowTransparency="true" frameborder="0" scrolling="no"> </iframe>
</div>	
<div id="cover" style="position:absolute; top:0px; left:0px; display:none; background:#000000;-moz-opacity:0.5; opacity: 0.5;filter:alpha(opacity=50);"> </div>
 <script type="text/javascript">
 var qc = '&q={{$cookies}}';
//<![CDATA[
document.getElementById('server_select_yx').style.left=window.screen.width/2-300+'px';
document.getElementById('server_select_yx').style.top=window.screen.height/2-360+'px';

function server_select_yx(flag) {
	if(flag=='open') {
		document.getElementById('server_select_yx').style.display='';
	}else {
		document.getElementById('server_select_yx').style.display='none';
	}
}
document.getElementById('server_select').style.left=window.screen.width/2-200+'px';
document.getElementById('server_select').style.top=window.screen.height/2-260+'px';

function server_select(flag) {
	if(flag=='open') {
		document.getElementById('server_select').style.display='';
	}else {
		document.getElementById('server_select').style.display='none';
	}
}
//]]>>
</script>

{{$select_js}}
</div>
</body>
</html>
